<template>
  <div>
    <p style="line-height: 60px">欢迎使用电动车充电系统</p>
    <el-button v-on:click="goLogin">登录</el-button>
    <el-button v-on:click="goRegister">注册</el-button>
  </div>
</template>

<script>

export default {
  name: 'HomeView',
  methods: {
    goLogin() {
      this.$router.replace('/login');
    },
    goRegister() {
      this.$router.replace('/register');
    },
  },
};
</script>
